package java8_19;

/**
 * @author oldliu
 * @since 1.0
 */
public class JuiceTest {
    public static void main(String[] args) {
        JuiceMaker m=new JuiceMaker();
        m.brand="九阳";
        m.price=399;
        m.watt=45;
        m.show();
        //参数的方式
        //111111111111
        String fruit="苹果";
        //接收方法的返回值
        String guozhi=m.makeJuice(fruit);
        System.out.println("我喝到了："+guozhi);
        //22222222222
        guozhi=m.makeJuice("葡萄");//f是提示
        System.out.println("我和到了："+guozhi);
    }
}
